﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ServerSide.Model
{
    public class Role
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }
        [Column("name")]
        public String? Name { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        [Column("description")]
        public String? Description { get; set; }
        /// <summary>
        /// 角色排序
        /// </summary>
        [Column("roleSort")]
        public int? RoleSort { get; set; }
        [Column("createTime")]
        public String? CreateTime { get; set; }
        [Column("updateTime")]
        public String? UpdateTime { get; set; }
        [Column("createBy")]
        public String? CreateBy { get; set; }
        [Column("enable")]
        public int? Enable { get; set; }
    }
}
